Hello, I have a module with a table at the very end of it. I want to run dxl script, which is adding new row at the end of excising table and write there some data. My script:
Module m = current
Object o = last m
if (cell o)
{
Object newRow = insertRow o
}
else
{
ack "object is not a row"
}
The problem is, that new row is not below last row, but above it... is there any possibility to add it at the end of table?
GohanP - Thu May 11 09:54:38 EDT 2017 |
Re: Insert new row below an object
Object appendRow(Object
tableCell)
|
Re: Insert new row below an object Antonio__Norkus - Thu May 11 10:43:41 EDT 2017
Object appendRow(Object
tableCell)
I've made it like this:
Module m = current
Object o = last m
if (cell o)
{
Object newRow = appendRow(Object o)
}
else
{
ack "object is not a row"
}
and it works great. Thank you! |